home *** CD-ROM | disk | FTP | other *** search
/ Magnum One / Magnum One (Mid-American Digital) (Disc Manufacturing).iso / d19 / cal14s21.arc / SAMPLE3.ARC / REPORTS.BAT < prev    next >
DOS Batch File  |  1991-02-19  |  1KB  |  38 lines

  1. REM -- REPORTS.BAT -- CALL IN EVENT.SYS TO GENERATE ALL CALLER REPORTS
  2. REM                -- ADDS DAILY LOGS TO HISTORY, APPENDS THEM TO FULL
  3. REM                -- CALLER LOG FILES AND COPIES THEM TO YESTER*
  4.  
  5. rem Update NODE 1 caller log database
  6. cd \pcb1
  7. type \pcb\main\daycal1 >>\pcb\main\caller1
  8. if exist calls.sav     calls calls1u.cnf
  9. if not exist calls.sav calls calls1.cnf
  10. copy \pcb\main\daycal1 \pcb\main\yester1
  11. del \pcb\main\daycal1
  12.  
  13. rem Update NODE 2 caller log database
  14. cd \pcb2
  15. type \pcb\main\daycal2 >>\pcb\main\caller2
  16. if exist calls.sav     calls calls2u.cnf
  17. if not exist calls.sav calls calls2.cnf
  18. copy \pcb\main\daycal2 \pcb\main\yester2
  19. del \pcb\main\daycal2
  20.  
  21. rem Update NODE 3 caller log database
  22. cd \pcb3
  23. type \pcb\main\daycal3 >>\pcb\main\caller3
  24. if exist calls.sav     calls calls3u.cnf
  25. if not exist calls.sav calls calls3.cnf
  26. copy \pcb\main\daycal3 \pcb\main\yester3
  27. del \pcb\main\daycal3
  28.  
  29. rem Produce combined caller log report for all nodes
  30. cd \pcb
  31. del calls.sav
  32. calls callsa.cnf
  33.  
  34. rem Create top uploaders/downloaders bulletin
  35. cd \pcb
  36. topusr main\users gen\blt5 20 4 120
  37.  
  38.